var ObjectControl = new Function();
ObjectControl.prototype = {
    postRequire: function (require_type, require_url, require_data, require_id, require_method, callback, errorCallback) {
        var _params = "data=" + JSON.stringify({
            "id": require_id,
            "method": require_method,
            "sign": "",
            "source": "",
            "timestamp": "",
            "access_key": "",
            "data": require_data
        });
        jQuery.ajax({
            url: require_url,
            type: require_type,
            dataType: 'jsonp',
            data: _params,
            timeout: 10000,
            success: function (data) {
                if (data) {
                    callback(data);
                }
            },
            error: function (data) {
                errorCallback(data);
            }
        })
    }
}